package com.haikesi.api.devicetype.domain.po;

import com.haikesi.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "device_type")
@Data
@EqualsAndHashCode(callSuper = false)
public class DeviceTypePO extends BaseEntity{

    /**
     * 类型别名
     */
    @Column(name = "type_alias")
    private String typeAlias;

    /**
     * 类型名称
     */
    @Column(name = "type_name")
    private String typeName;

    /**
     * 类型码
     */
    @Column(name = "product_code")
    private String productCode;

    /**
     * 父级类型码
     */
    @Column(name = "parent_code")
    private String parentCode;

    /**
     * 类型描述
     */
    @Column(name = "type_description")
    private String typeDescription;

}